package com.example.personnel_oa.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.SysEmployee;
import com.example.comment_oa.pojos.SysEmployeePost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author asus
* @description 针对表【sys_employee_post】的数据库操作Mapper
* @createDate 2022-10-19 20:29:20
* @Entity personnel_oa.pojos.SysEmployeePost
*/
@Mapper
public interface SysEmployeePostMapper extends BaseMapper<SysEmployeePost> {

    //根据id查询员工
    SysEmployeePost empid(int empId);
    //根据职位id查询对应的数据
    SysEmployeePost postId(int postId);

    //员工入职后添加员工中间表
    int addEmpPoet(int postId, int empId);


}
